// Place your application-specific JavaScript functions and classes here
// This file is automatically included by javascript_include_tag :defaults

/** 
 * ajax loading
 */
function show_modal() {
  $("#modal").show('fast',function() {
    $("#modal").center({vertical: false,horizontal: true});
    $('#modal').css({top: $(document).scrollTop() - 100})
  });  
}           